AM_CPPFLAGS = $(WX_CXXFLAGS) \
		-I$(top_srcdir)/src/include \
		-I$(top_srcdir)/src/sdk/wxscintilla/include

pluginlibdir = $(pkglibdir)/plugins

pluginlib_LTLIBRARIES = libPropertyOptionsManipulator.la

libPropertyOptionsManipulator_la_LDFLAGS = @MODULE_SHARED_LDFLAGS@ -version-info 0:1:0 -no-undefined -avoid-version

libPropertyOptionsManipulator_la_LIBADD = ../../../sdk/libcodeblocks.la $(WX_LIBS)

libPropertyOptionsManipulator_la_SOURCES = PropertyOptionsManipulator.cpp \
		PropertyOptionsManipulatorDlg.cpp \
		PropertyOptionsManipulatorResultDlg.cpp

noinst_HEADERS = PropertyOptionsManipulator.h \
		PropertyOptionsManipulatorDlg.h \
		PropertyOptionsManipulatorResultDlg.h

EXTRA_DIST =	$(srcdir)/*.cbp \
		manifest.xml \
		$(srcdir)/wxsmith/*.wxs

pkgdata_DATA = PropertyOptionsManipulator.zip

CLEANFILES = $(pkgdata_DATA)

PropertyOptionsManipulator.zip: manifest.xml
	PWD=`pwd` cd $(srcdir) && zip $(PWD)/PropertyOptionsManipulator.zip manifest.xml > /dev/null
